package com.tz.hotelmanager.domain;

import com.alibaba.fastjson.JSONObject;

public class Floor {
    private Integer id;

    private String name;

    private String info;

    @Override
    public String toString() {
      
      JSONObject jsonObject= new JSONObject();
      jsonObject.put("id", getId());
      jsonObject.put("name", getName());
      jsonObject.put("info",getInfo());
      return jsonObject.toJSONString();
    }
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info == null ? null : info.trim();
    }
}